package com.ruoyi.yscggl.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import javax.validation.constraints.*;

import java.util.Date;

/**
 * 审核进度业务对象 g_shb
 *
 * @author jiayuan
 * @date 2023-04-24
 */

@Data
public class ShbBo {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 项目编号
     */
    @NotBlank(message = "项目编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pnNo;

    /**
     * 业务类型：1.经费申请 2.采购申请 3.合同签订
     */
    @NotBlank(message = "业务类型：1.经费申请 2.采购申请 3.合同签订不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ywlx;

    /**
     * 审核人编号
     */
    @NotBlank(message = "审核人编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shrbh;

    /**
     * 审核人
     */
    @NotBlank(message = "审核人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shr;

    /**
     * 审核日期
     */
    @NotNull(message = "审核日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date shrq;

    /**
     * 审核意见
     */
    @NotBlank(message = "审核意见不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shyj;

    /**
     * 审核状态：1.一审 2.二审 3.三审 4.四审 5.五审 6.六审 0.驳回
     */
    @NotBlank(message = "审核状态：1.一审 2.二审 3.三审 4.四审 5.五审 6.六审 0.驳回不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shtz;


}
